package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.SurplusTimeVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledReservationCount(Long userId);

    List<SurplusTimeVo> getReservationCountByTime(Long time);

    void add(ReservationDto reservationDto);

    PageResponse<ReservationVo> page(Integer pageNum, Integer pageSize,Long userId, Integer status);

    void cancel(Long id, Long userId);
}
